package com.lesserpand.springcloudalibabacore.config.redis.constant;

public enum RedisEnum {

    /**
     * 锁的key
     */
    LOCK_KEY("锁的key", "lock:"),

    /**
     * 抢购的key
     */
    SKILL_KEY("抢购的key","skill:"),;

    private String key;
    private String value;

    public String getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

    RedisEnum(String key, String value) {
        this.key = key;
        this.value = value;
    }
}
